//
//  GetOptions.h
//  GetoptCocoa
//
//  Created by Andrew Pressel on 7/6/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface GetOptions : NSObject {
	NSMutableDictionary* options;
	NSStringEncoding encoding;
}

-(id) init:(NSArray*)parms;
-(id) init:(NSArray*)parms withDefaults:(NSDictionary*)defaults;
-(id) optionNamed:(NSString *)optname;
-(int) count;
-(int) checkParameter:(NSArray*)pair against:(NSArray*)parameters;

@end
